The attached patch adds a new dom0_op, DOM0_GETDOMAININFOLIST. This
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 8 Jul 2005 09:06:04 +0000 (09:06 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 8 Jul 2005 09:06:04 +0000 (09:06 +0000)
commitaab6fa579e5197540a00e72d364d35cc758165c1
treec67b1df6e4569de6327cd5b6ecc818b36cda5a83
parentd0797566aac43cf2e7f542b84da8942359842602
The attached patch adds a new dom0_op, DOM0_GETDOMAININFOLIST.  This
operation allows retrieval of the domain info structures for all domains
in one hypercall.

Using a small test program, on a system with 97 domains with
non-contiguous domain IDs, I found that with this hypercall I could
retrieve the full array of info structures 12840 times per second, an
improvement from 2380 times per second with the DOM0_GETDOMAININFO op.

The patch also adds a libxc wrapper for this new hypercall.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
tools/libxc/xc.h
tools/libxc/xc_domain.c
xen/common/dom0_ops.c
xen/include/public/dom0_ops.h